home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _23D4C10B92AC47FF830EDC264EB52368 < prev    next >
Encoding:
Text File  |  2006-08-04  |  3.8 KB  |  109 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.01'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.26667,11.69), 
  37.         'TemplateCategory': r'Avery International', 
  38.         'TemplateDescription': 'Tarjetas de presentaci≤n Quick & Clean con brillo de inyecci≤n de tinta de 84 x 56', 
  39.         'Template': [{
  40.             'CellPosition': (0.7375,1.3075), 
  41.             'CellSize': (3.215,1.995), 
  42.             'ImagePlacement': 2, 
  43.             'ImagePath': r'', 
  44.             'RotationAngle': 0, 
  45.             'ImagePosition': (0,0), 
  46.             'ImageSize': (0,0)
  47.             },{
  48.             'CellPosition': (0.7375,3.6675), 
  49.             'CellSize': (3.215,1.995), 
  50.             'ImagePlacement': 2, 
  51.             'ImagePath': r'', 
  52.             'RotationAngle': 0, 
  53.             'ImagePosition': (0,0), 
  54.             'ImageSize': (0,0)
  55.             },{
  56.             'CellPosition': (0.7375,6.0275), 
  57.             'CellSize': (3.215,1.995), 
  58.             'ImagePlacement': 2, 
  59.             'ImagePath': r'', 
  60.             'RotationAngle': 0, 
  61.             'ImagePosition': (0,0), 
  62.             'ImageSize': (0,0)
  63.             },{
  64.             'CellPosition': (0.7375,8.3875), 
  65.             'CellSize': (3.215,1.995), 
  66.             'ImagePlacement': 2, 
  67.             'ImagePath': r'', 
  68.             'RotationAngle': 0, 
  69.             'ImagePosition': (0,0), 
  70.             'ImageSize': (0,0)
  71.             },{
  72.             'CellPosition': (4.3175,1.3075), 
  73.             'CellSize': (3.215,1.995), 
  74.             'ImagePlacement': 2, 
  75.             'ImagePath': r'', 
  76.             'RotationAngle': 0, 
  77.             'ImagePosition': (0,0), 
  78.             'ImageSize': (0,0)
  79.             },{
  80.             'CellPosition': (4.3175,3.6675), 
  81.             'CellSize': (3.215,1.995), 
  82.             'ImagePlacement': 2, 
  83.             'ImagePath': r'', 
  84.             'RotationAngle': 0, 
  85.             'ImagePosition': (0,0), 
  86.             'ImageSize': (0,0)
  87.             },{
  88.             'CellPosition': (4.3175,6.0275), 
  89.             'CellSize': (3.215,1.995), 
  90.             'ImagePlacement': 2, 
  91.             'ImagePath': r'', 
  92.             'RotationAngle': 0, 
  93.             'ImagePosition': (0,0), 
  94.             'ImageSize': (0,0)
  95.             },{
  96.             'CellPosition': (4.3175,8.3875), 
  97.             'CellSize': (3.215,1.995), 
  98.             'ImagePlacement': 2, 
  99.             'ImagePath': r'', 
  100.             'RotationAngle': 0, 
  101.             'ImagePosition': (0,0), 
  102.             'ImageSize': (0,0)
  103.             }]
  104.         }
  105.  
  106. def Do(Environment):
  107.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  108.  
  109.